package com.graduation.springbootinit.model.entity.ActivityPart;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("community_activities_quiz_record")
public class QuizRecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long challengeId;
    
    private Long userId;
    
    private String answers;
    
    private Integer totalScore;
    
    private Integer correctCount;
    
    private Integer ranking;
    
    private Integer pointsReceived;
    
    private LocalDateTime createdAt;
    
    private LocalDateTime updatedAt;
} 